<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			{{msg}}
			<!-- 55555 -->
			<h2>{{obj.name}}--{{obj.age}}</h2>
			<h2 class="age-h2">{{obj.age}}</h2>
			<h3 v-text='obj.name'></h3>
			<h4 v-text='msg'></h4>
			<ul>
				<li>1</li>
				<li>2</li>
				<li>3</li>
			</ul>
			<h3>{{msg}}</h3>
			<div v-html='htmlStr'></div>
			<div v-html='obj.fav'></div> 
			<input type="text" v-model='msg'>
			<img v-bind:src="imgSrc" v-bind:alt="altTitle">
			<button v-on:click='handlerClick'>按钮1</button>
			<button v-on:click='handlerClick2'>按钮2</button>
			<button @click='handlerClick2'>按钮3</button>
		</div>
	</body>
	<script type="text/javascript">
		const str = '电影 2022 WEBWORK'
		const reg = /((\ )|(\.))(\d{4})((\ )|(\.))/g
		console.log('ffff', str.match(reg), 'str', str.replace(/\ /, '.'));
		str.replace(reg, (a, b) => {
			console.log('gaa', a, 'b', b);
		})
    console.log('中文中文', '我发誓发多少03.2022'.match(/[\u4e00-\u9fa5]*/g ));

	</script>
</html>
